﻿#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 版权所有 (c) 2022 北京超维景生物科技有限公司 保留所有权利。
 * CLR版本：4.0.30319.42000
 * 文件名：Kernel
 * 
 * 创建者：huangyang
 * 电子邮箱：huangyang@tvscope.cn
 * 创建时间：2023/2/10 13:35:08
 * 版本：V1.0.0
 * 描述：
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时间：
 * 修改说明：
 *
 * 版本：V1.0.1
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ImageK.Gui;

namespace ImageK.Plugin.Frame
{
    /// <summary>
    /// This class "synchronizes" mouse input in multiple windows. Once
    /// several windows are synchronized, mouse events in any one of the
    /// synchronized windows are propagated to the others.
    /// </summary>
    public class SyncWindows
    {
        public static void setC(ImageWindow source, int channel)
        {
            //todo:
            // SyncWindows syncWindows = instance;
            // if (syncWindows == null || !syncWindows.synced(source))
            //     return;
            // DisplayChangeEvent event=new DisplayChangeEvent(source, DisplayChangeEvent.CHANNEL, channel);
            // syncWindows.displayChanged(event);
        }

        public static void setZ(ImageWindow source, int slice)
        {
            //todo:
            // SyncWindows syncWindows = instance;
            // if (syncWindows == null || !syncWindows.synced(source))
            //     return;
            // DisplayChangeEvent event=new DisplayChangeEvent(source, DisplayChangeEvent.Z, slice);
            // syncWindows.displayChanged(event);
        }

        public static void setT(ImageWindow source, int frame)
        {
            //todo:
            // SyncWindows syncWindows = instance;
            // if (syncWindows == null || !syncWindows.synced(source))
            //     return;
            // DisplayChangeEvent event = new DisplayChangeEvent(source, DisplayChangeEvent.T, frame);
            // syncWindows.displayChanged(event);
        }
	}
}
